package gui;

import java.net.InetAddress;

public class User {

	private String name;
	 private InetAddress ipAddress;
	 
	public User(String name, InetAddress ipAddress) {
		this.name = name;
		this.ipAddress = ipAddress;
	}
	
	public String toString(){
		return name + "@" + ipAddress;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public InetAddress getIpAddress() {
		return ipAddress;
	}

	public void setIpAddress(InetAddress ipAddress) {
		this.ipAddress = ipAddress;
	}
	
	
}
